\documentclass[12pt, landscape]{article}
\title{Tree Output}
\date{\today}
\usepackage[a0paper, vmargin=2cm, hmargin=2cm]{geometry}
\usepackage{lingmacros}
\usepackage{tikz}
\usepackage{tikz-qtree}
\usetikzlibrary{arrows,positioning,shapes}
\tikzset{
	%Define standard arrow tip
	>=stealth',
	%Define DS link style
	link/.style={
		<-,
		thick,
		dotted,},
	%Define DS token style
	token/.style={
		rectangle split,
		rectangle split parts=2,}
}
\usepackage{gb4e}
\begin{document}
\tikzstyle{every picture}+=[remember picture]
\maketitle
\begin{enumerate}
\item {\bf Ambiguous DS Pattern:} [VM-NF $<$fs $>$] (2 rules)
\begin{enumerate}
\begin{item}
{\bf Rule:} [VM-NF $<$fs $>$] $\rightarrow$ [V-Part] (5 tree pairs)\\
Occurs in: Instrument\_kara-DS-1, Relation-DS-vmod-2, Non-adjectival-Shared-arg-DS-1, Manner\_kara-DS-1, Consequential\_kara-DS-1
\begin{itemize}
\begin{item}
{\bf Example:} Instrument\_kara-DS-1
\begin{itemize}
\begin{item}[]
\shortex{7}{rAma&mehanawa&karake&pEse&kamAwA&hE&.}{ram&hard-work&having-done&money&earn&be-Pres&.}{Ram earns money by working hard.}
\end{item}
\begin{item}[]
\tikz[baseline]\node[anchor=base,draw=black]{\bf PS}; 
\end{item}
\begin{item}[]
\begin{tikzpicture}[sibling distance=24pt, level distance=24pt]
\Tree
[.\node{VP};
[.\node{VP};
[.\node{NP};
[.\node{N-Prop};
\node[token](rAma){rAma};
]
]
[.\node{VP-Pred};
[.\node{VP-Part};
[.\node{NP};
\node[token](NULL){PRO};
]
[.\node{VP-Pred-Part};
[.\node{NP};
[.\node{N};
\node[token](mehanawa){mehanawa};
]
]
[.\node{V-Part};
\node[token](karake){karake};
]
]
]
[.\node{VP-Pred};
[.\node{NP};
[.\node{N};
\node[token](pEse){pEse};
]
]
[.\node{V};
\node[token](kamAwA){kamAwA};
]
]
]
]
[.\node{V-Aux};
\node[token](hE){hE};
]
[.\node{PUNCT};
\node[token](period){.};
]
]
\end{tikzpicture}
\end{item}
\begin{item}[]
\tikz[baseline]\node[anchor=base,draw=black]{\bf DS-Const}; 
\tikz[baseline]\node[anchor=base,draw=red]{\texttt{inconsistent}}; 
\tikz[baseline]\node[anchor=base,draw=red]{\texttt{inconstTokens}}; 
\end{item}
\begin{item}[]
\begin{tikzpicture}[sibling distance=48pt, level distance=24pt]
\node[token](rAma){rAma\nodepart{second}N-Prop};
\node[token,right=of rAma](mehanawa){mehanawa\nodepart{second}N};
\node[token,right=of mehanawa](karake){karake\nodepart{second}VM-NF};
\node[token,right=of karake](pEse){pEse\nodepart{second}N};
\node[token,right=of pEse](kamAwA){kamAwA\nodepart{second}VM};
\node[token,right=of kamAwA](hE){hE\nodepart{second}V-Aux};
\node[token,right=of hE](period){.\nodepart{second}SYM};
\path[link] (rAma.south) edge[bend right=56] node[pos=0.25, below=-0.05, sloped] {\scriptsize k1} (kamAwA);
\path[link] (mehanawa.south) edge[bend right=32] node[pos=0.50, below=-0.05, sloped] {\scriptsize pof} (karake);
\path[link] (karake.south) edge[bend right=40] node[pos=0.40, below=-0.05, sloped] {\scriptsize vmod} (kamAwA);
\path[link] (pEse.south) edge[bend right=32] node[pos=0.50, below=-0.05, sloped] {\scriptsize k2} (kamAwA);
\node[below=of kamAwA](root){\bf root};
\path[link] (kamAwA) edge (root);
\path[link] (hE.south) edge[bend left=32] node[pos=0.50, below=-0.05, sloped] {\scriptsize lwg\_\_vaux} (kamAwA);
\path[link] (period.south) edge[bend left=40] node[pos=0.40, below=-0.05, sloped] {\scriptsize rsym\_\_eos} (kamAwA);
\end{tikzpicture}
\end{item}
\end{itemize}
\end{item}
\end{itemize}
\end{item}
\begin{item}
{\bf Rule:} [VM-NF $<$fs $>$] $\rightarrow$ [V] (6 tree pairs)\\
Occurs in: Relation-DS-vmod-1, Relation-DS-vmod-3, Adjectival-Shared-arg-DS-3, Adjectival-Shared-arg-DS-2, Adjectival-Shared-arg-DS-1, Relation-DS-nmod-1
\begin{itemize}
\begin{item}
{\bf Example:} Relation-DS-vmod-1
\begin{itemize}
\begin{item}[]
\shortex{4}{vaha&KAwe&hue&gayA}{??}{??}
\end{item}
\begin{item}[]
\tikz[baseline]\node[anchor=base,draw=black]{\bf PS}; 
\end{item}
\begin{item}[]
\begin{tikzpicture}[sibling distance=24pt, level distance=24pt]
\Tree
[.\node{VP};
[.\node{NP_1};
[.\node{N};
\node[token](vaha){vaha};
]
]
[.\node{VP-Pred};
[.\node{VP-Part};
[.\node{VP};
[.\node{NP};
\node[token](NULL){PRO};
]
[.\node{VP-Pred};
[.\node{V};
\node[token](KAwe){KAwe};
]
]
]
[.\node{V-Aux};
\node[token](hue){hue};
]
]
[.\node{VP-Pred};
[.\node{NP};
\node[token](NULL1){CASE_{1}};
]
[.\node{V};
\node[token](gayA){gayA};
]
]
]
]
\end{tikzpicture}
\end{item}
\begin{item}[]
\tikz[baseline]\node[anchor=base,draw=black]{\bf DS-Const}; 
\tikz[baseline]\node[anchor=base,draw=red]{\texttt{inconsistent}}; 
\tikz[baseline]\node[anchor=base,draw=red]{\texttt{inconstTokens}}; 
\end{item}
\begin{item}[]
\begin{tikzpicture}[sibling distance=48pt, level distance=24pt]
\node[token](vaha){vaha^{1}\nodepart{second}N};
\node[token,right=of vaha](KAwe){KAwe\nodepart{second}VM-NF};
\node[token,right=of KAwe](hue){hue\nodepart{second}V-Aux};
\node[token,right=of hue](NULL){CASE_{1}\nodepart{second}NULL};
\node[token,right=of NULL](gayA){gayA\nodepart{second}VM};
\path[link] (vaha.south) edge[bend right=56] node[pos=0.25, below=-0.05, sloped] {\scriptsize k1} (gayA);
\path[link] (KAwe.south) edge[bend right=48] node[pos=0.30, below=-0.05, sloped] {\scriptsize vmod} (gayA);
\path[link] (hue.south) edge[bend left=32] node[pos=0.50, below=-0.05, sloped] {\scriptsize lwg\_\_vaux} (KAwe);
\path[link] (NULL.south) edge[bend right=32] node[pos=0.50, below=-0.05, sloped] {\scriptsize k2} (gayA);
\node[below=of gayA](root){\bf root};
\path[link] (gayA) edge (root);
\end{tikzpicture}
\end{item}
\end{itemize}
\end{item}
\end{itemize}
\end{item}
\end{enumerate}
\end{enumerate}
\end{document}
